package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyl
 * @since 2018-08-01
 */
@TableName("sta_act_centre")
public class StaActCentre extends Model<StaActCentre> {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private  ActualRoute actualRoute;

    public ActualRoute getActualRoute() {
        return actualRoute;
    }

    public void setActualRoute(ActualRoute actualRoute) {
        this.actualRoute = actualRoute;
    }

    /**
     * 线路关系表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    public Integer getSiteorder() {
        return siteorder;
    }

    public void setSiteorder(Integer siteorder) {
        this.siteorder = siteorder;
    }

    /**

     * 车辆到达时间
     */
    @TableField("car_cometime")
    private String carCometime;
    /**
     * 线路id
     */
    private Integer lineid;
    /**
     * 站点id
     */
    private Integer siteid;

    private Integer   siteorder;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCarCometime() {
        return carCometime;
    }

    public void setCarCometime(String carCometime) {
        this.carCometime = carCometime;
    }

    public Integer getLineid() {
        return lineid;
    }

    public void setLineid(Integer lineid) {
        this.lineid = lineid;
    }

    public Integer getSiteid() {
        return siteid;
    }

    public void setSiteid(Integer siteid) {
        this.siteid = siteid;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "StaActCentre{" +
        "id=" + id +
        ", carCometime=" + carCometime +
        ", lineid=" + lineid +
        ", siteid=" + siteid +
                ", siteorder=" + siteorder +
        "}";
    }
}
